Q1) Consider the following relational schema for a Company: Employee (Fname, Lname, Emp_id, Bdate, Address, Gender, Salary,Super_Emp_id, D_no) Department (D_name, D_no, D_Mgr_id, Mgr_start_date ) Dept_Location(D_no, D_location ) Project...
Q1) Consider the following relational schema for a Company:
Employee (Fname, Lname, Emp_id, Bdate, Address, Gender, Salary,Super_Emp_id, D_no)
Department (D_name, D_no, D_Mgr_id, Mgr_start_date )
Dept_Location(D_no, D_location )
Project (P_name, P_number, P_location, D_no )
Works_on (Emp_id, P_no, Hours )Write the following queries in relational algebra.
a. Find the total number of female employee in the Organization, whose salary is more than 25000
b. Find the names of the employee who do not have supervisors.
c. Find the names of employees who work on all projects controlled by department No 05
d. Make a list of project numbers for projects that involve an employee whose last name is “Smith”, either as a worker or as a manager of the department that controls the project.
e. Find the total number of Employees in organization.
10 years ago
5
Answer(1)![blurred-text]()
![]()
Purchase the answer to view it

NOT RATED
- relational_algebra.docx
Bids(0)
other Questions(10)
- Calculus 2 HW and Calculus 1 Review HW (Webassign)
- falsafchi
- Week 10 Discussions
- For "Respect Writer"
- Phyllis Young
- solution
- Define and discuss the phrase "Manifest Destiny." Explain how this belief came to divide the nation.
- ECO 550 Assignment 1 Making Decisions Based on Demand and Forecasting
- ECO 550 Week 4 - Check Your Understanding Ch. 07 and 08 (All Questions Answered)
- MGT 538 MGT\538 FINAL EXAM (30 QUESTIONS WITH ANSWERS) 100% CORRECT
